﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>图片的选择展示</title>
    <script type="text/javascript" language="JavaScript">
        
        
    </script>
</head>
<body>
<center>
    <img width=260 height=200 src="http://www.baidu.com/img/logo.gif" name="img1">
</center>
<center>
    <select onChange="document.img1.src=options[selectedIndex].value">
        <option value="http://www.google.cn/intl/zh-CN/images/logo_cn.gif">goole搜索</option>
        <option value="http://www.baidu.com/img/logo.gif">百度搜索</option>
        <option value="http://search.cn.yimg.com/i/070420/lg.gif">雅虎搜索</option>
    </select>
</center>
</body>
</html>